<?php

class clear_cart_on_login_e_cart extends a_event_subscriber{

    public function  __construct() {
        parent::__construct();
    }

    public function  fire($args = null) {
        service_l_cart::clear_cart();
    }

    public function  get_event_name() {
          return module_u_user::EVENT_LOGIN_SUCCESS;
    }

}
?>
